package com.yang.mall.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * @author CYJ
 * @data 2022/4/24
 * @apiNote
 **/
@Data
@ApiModel("商品分成DTO")
public class ProductShareDTO {
    @ApiModelProperty("商品id")
    private List<Long> productIds;

    @ApiModelProperty("分成类型: 1: 达人分成 2: 经销商分成")
    private String shareType;

    @ApiModelProperty("优惠价格")
    private BigDecimal CouponPrice;

    @ApiModelProperty("订单金额")
    private BigDecimal totalOrderPrice;

    @ApiModelProperty("商品数量")
    private Map<Long, Integer> productNumMap;

    @ApiModelProperty("商品单价Map")
    private Map<Long, BigDecimal> productPriceMap;

}
